FROM tutu/mytomcat
MAINTAINER tutu 1130289195@qq.com
RUN yum install -y unzip zip
RUN mkdir /home/jenkins
RUN wget -P /home/jenkins http://mirrors.jenkins.io/war-stable/latest/jenkins.war
RUN  unzip -oq /home/jenkins/jenkins.war -d /home/tomcat/apache-tomcat-8.5.31/webapps/ROOT/
RUN rm -rf /home/jenkins/jenkins.war
RUN yum-config-manager \
        --add-repo \
        https://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo
RUN yum makecache
RUN yum install -y docker-ce


